TELDrop
Drops a call.
pascal TELErr TELDrop ( TELCAHandle hTELCA, ConstStr255Param userUserInfo);
hTELCA
- A handle to a call appearance structure for the call to be dropped.
userUserInfo
- A pointer to a Pascal-style string containing user-to-user information, as defined by some telephone networks. You should set this parameter if the network supports user-to-user information. To find out, call the function
TELGetInfo
and check the bithasUserUserInfo
in the telephone structure.- function result
- A result code.
DESCRIPTION
You can drop any call at any time, regardless of the state of the call. WhenTELDrop
returnsnoErr
, the call state reverts totelCAIdleState
and your call appearance message handler gets thetelCAIdleMsg
message.Do not reuse a call appearance structure. After dropping a call and getting the
telCAIdleMsg
message, callTELCADispose
(page 4-52) to dispose of the call appearance structure.
- Note
- Functions that can dispose of a handle to a call appearance structure (
TELCADispose
,TELDNDispose
, andTELDispose
) do not drop the associated telephone call. For example, if you callTELCADispose
for an active call, the parties can continue to talk until one or the other hangs up. However, your application can no longer monitor or control the call.![]()
SEE ALSO
The functionTELDNSelect
(page 3-19) can cause all calls on a given directory number to be dropped.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help